<?php
include ('fonctions.php');
if (isset($_GET['equipe_tirage'])) {
	echo insereTirage($_GET['equipe_tirage'],$_GET['score']);
} else {
?>
<html>
<form method=get action='tirage_sort.php'>
<table>
	<tr>
		<td>Equipe :</td>
		<td>
<?php 
echo afficheComboEquipesTirageSort();
?>
		</td>
	</tr>
	<tr>
		<td>Score :</td>
		<td><input type=text name=score size=2 value='1'></td>
	</tr>
</table>
<input type=submit value='Envoyer'>
</form>
</html>
<?php } ?>
<br><br><a href='home.php'>RETOUR ACCUEIL</a>
